<div id="ors_<{$widgets_id}>" class="OrderList" style='overflow:hidden;height:<{$data.setting.height|default:40}>px'>
  <ul class="news-items" >
    <{foreach name=outer item=contact from=$data key=key}>
	<{if $key!=='setting'}>
	<li> 		
		<{if $data.setting.smallPic==6 }>
		<{if $data.setting.picaddress}> <img src="<{$data.setting.picaddress}>" /> <{/if}>
		<{elseif $data.setting.smallPic}>
		<img src="<{$data.setting.smallPic}>" title="icons">
		<{/if}>		
		<{t app='b2c'}>感谢<{/t}><span class="OrderListName"><{$data.$key.ship_name}><{if $data.$key.sex==='0'}><{t app='b2c'}>女士<{/t}><{/if}><{if $data.$key.sex==1}><{t app='b2c'}>先生<{/t}><{/if}></span> <{t app='b2c'}>于<{/t}><span class="OrderListDate"><{$data.$key.date}></span><{t app='b2c'}>完成交易额为<{/t}><span class="OrderListPrice"><{$data.$key.total_amount|cur}></span><{t app='b2c'}>的订单<{/t}><!--<span class="OrderListId"><{$data.$key.order_id}></span>-->	
	</li>
	<{/if}>	
    <{/foreach}>
  </ul>
</div>
<script>
  window.addEvent('domready', function(){
	new Switchable('ors_<{$widgets_id}>',{
		content:'.news-items',
		steps:<{$data.setting.steps|default:1}>,
		hasTriggers:false,
		interval:3000,
		duration:<{$data.setting.roll_speed|default:200}>,
		effect:'scrolly',
		autoplay:true
	});
  });
</script>
